package Ooday05;

public class GetterSetterDemo {
    public static void main(String[] args) {
        Point p = new Point();
        p.setX(100);//赋值set   输出get
        p.setY(200);
        System.out.println(p.getX()+","+ p.getY());
    }
}
